{{include file="header.html"}}
{{include file="menu.html"}}
	<div class="select_type">
		<!-- 页面的内容  开始 -->
		<div class="display" style="border: 1px solid #dddddd;">
			<!-- 下拉选择框 -->
			<div class="content_title_bar">
				<span>&diams;请选择查看</span>

				<div class="select_div" style="float:left;margin-left:10px;">
				    <select name="year" class="year" style="min-width:120px;">
				  		<option value="">--毕业年份-</option>
						{{foreach from=$year item=val key=key}}
							<option value="{{$key}}" name="year" {{if $key == $result.year || $key == $smarty.get.year}} selected = "selected" {{/if}}>{{$val.title}}</option>
						{{/foreach}}
				  	</select>
				</div>
				<div class="select_div" style="float:left;margin-left:10px;">
				   <select name="major" class="major" style="min-width:120px;">
				  		<option value="">--专业--</option>
						{{foreach from=$major item=val key=key}}
							<option value="{{$key}}" name="major" {{if $key == $result.major || $key == $smarty.get.major}} selected = "selected" {{/if}}>{{$val.title}}</option>
						{{/foreach}}
				  	</select>
				</div>
				<span>毕业生的就业情况</span>
			</div>


			<div class="content_title_bar">
				<span>&diams;XXX届XXX专业 --- 毕业生就业信息列表</span>
			</div>
			<table class="content_table">
				<tr>
					<!-- <th width="20">ID</th> -->
					<th>学号</th>
					<th>姓名</th>
					<th>毕业年份</th>
					<th>已毕业</th>
					<th>工资</th>
					<th>公司名称</th>
					<th>工作职位</th>
					<th>公司的融资阶段</th>
					<th>工作地点(省份)</th>
					<th>创业 就业</th>
					<th>工作是否跨专业</th>
				</tr>
				{{if $result.data}}
				{{foreach item=val from=$result.data key=key}}
				{{if $val.year != '-1'}}
				<tr bgcolor="#F2F2F2">				
					<!-- <td>{{$key+1}}</td>					 -->
					<td>{{$val.number}}</td>
					<td>{{$val.username}}</td>
					<td>{{$val.year}}</td>
					<td colspan="8"></td>
				</tr>
					{{foreach item=val2 from=$val.info}}
					<tr>
						<td colspan="3"></td>
						<td>{{$val2.gra_year}}年</td>
						<td>{{$val2.price}}</td>
						<td>{{$val2.company_name}}</td>		
						<td>{{$val2.position}}</td>
						<td>{{$val2.company_type}}</td>
						<td>{{$val2.province.0.province_name}}</td>
						<td>{{$val2.type}}</td>
						<td>{{$val2.related}}</td>	
					</tr>
					{{/foreach}}
				{{/if}}
				{{/foreach}}
				{{/if}}
				<!--循环商品详情E-->
				<!--分页-->
			</table>
			{{include file="page.html"}}
		</div>	
	</div>
{{include file="footer.html"}}
